package com.ruoyi.wms.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存移动对象 wms_inventory_movement
 * 
 * @author zmm
 * @date 2023-01-30
 */
public class WmsInventoryMovement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一值 */
    private Long id;
    private Long deptId;

    @Override
    public Long getDeptId() {
        return deptId;
    }

    @Override
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }
    /** 编号 */
    @Excel(name = "编号")
    private String inventoryMovementNo;

    /** 原货架Id */
    @Excel(name = "原货架Id")
    private Long sourceRackId;

    /** 目标货架 */
    @Excel(name = "目标货架")
    private Long targetRackId;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer checkStatus;

    /** 审核人 */
    @Excel(name = "审核人")
    private Long checkUserId;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkTime;

    /** 删除标识 */
    private Integer delFlag;

    /** 库存移动详情信息 */
    private List<WmsInventoryMovementDetail> wmsInventoryMovementDetailList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInventoryMovementNo(String inventoryMovementNo) 
    {
        this.inventoryMovementNo = inventoryMovementNo;
    }

    public String getInventoryMovementNo() 
    {
        return inventoryMovementNo;
    }
    public void setSourceRackId(Long sourceRackId) 
    {
        this.sourceRackId = sourceRackId;
    }

    public Long getSourceRackId() 
    {
        return sourceRackId;
    }
    public void setTargetRackId(Long targetRackId) 
    {
        this.targetRackId = targetRackId;
    }

    public Long getTargetRackId() 
    {
        return targetRackId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setCheckStatus(Integer checkStatus) 
    {
        this.checkStatus = checkStatus;
    }

    public Integer getCheckStatus() 
    {
        return checkStatus;
    }
    public void setCheckUserId(Long checkUserId) 
    {
        this.checkUserId = checkUserId;
    }

    public Long getCheckUserId() 
    {
        return checkUserId;
    }
    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    public List<WmsInventoryMovementDetail> getWmsInventoryMovementDetailList()
    {
        return wmsInventoryMovementDetailList;
    }

    public void setWmsInventoryMovementDetailList(List<WmsInventoryMovementDetail> wmsInventoryMovementDetailList)
    {
        this.wmsInventoryMovementDetailList = wmsInventoryMovementDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inventoryMovementNo", getInventoryMovementNo())
            .append("sourceRackId", getSourceRackId())
            .append("targetRackId", getTargetRackId())
            .append("status", getStatus())
            .append("checkStatus", getCheckStatus())
            .append("checkUserId", getCheckUserId())
            .append("checkTime", getCheckTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("wmsInventoryMovementDetailList", getWmsInventoryMovementDetailList())
            .toString();
    }
}
